﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneOfAll.Common.Models
{
    public class BaseModel : ViewModelBase
    {
        private int key = Guid.NewGuid().GetHashCode();
        public int Key
        {
            get { return key; }
            set { key = value; RaisePropertyChanged(); }
        }

        private int resourcekey = Guid.NewGuid().GetHashCode();
        public int ResourceKey
        {
            get { return resourcekey; }
            set { resourcekey = value; RaisePropertyChanged(); }
        }
    }
}
